home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000342_news@columbia.edu _Thu Feb 22 14:46:30 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
6KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA26038
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 14:46:29 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17410
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 14:46:28 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06498
for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:42:02 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "Woot" <mymp3xyz@hotmail.com>
Subject: Re: Filename conversions
Message-ID: <3a955c70.0@209.4.12.42>
Date: Thu, 22 Feb 2001 19:41:39 GMT
Organization: Intermedia Business Internet - Beltsville, MD
To: kermit.misc@columbia.edu
Here is the script I ended up with and it works fine.
SET MODEM TYPE DIRECT ; (C-Kermit or Kermit 95)
SET PORT COM1 ; (Or other communication port)
SET SPEED 9600 ; (Serial port speed)
SET CARRIER-WATCH OFF ; (Don't require carrier)
SET FLOW NONE ; (Don't use flow control)
SET PARITY NONE ; (8 data bits, no parity)
SET BLOCK 3 ; (if desired, or 2)
SET CONTROL PREFIX ALL ; (Necessary in Kermit 95)
SET SEND TIMEOUT 20 ; (Or other number of seconds)
SET SEND PAUSE 100 ; (Or other number of milliseconds)
SET FILE COLLISION OVERWRITE
SET FILE TYPE BINARY
ENABLE DELETE BOTH ; needed to make collision overwrite work when HP48 sends
file
server
exit
Thanks to everyone for their help.
"Jeffrey Altman" <jaltman@watsun.cc.columbia.edu> wrote in message
news:973ap1$o63$1@newsmaster.cc.columbia.edu...
> In article <971gs8$de0$1@samba.rahul.net>, <dold@email.rahul.net> wrote:
> : Woot <mymp3xyz@hotmail.com> wrote:
> : : I'm having a great conversation with myself.... :)
> : : If I "get" the file from the HP48 (putting the HP48 in server mode) it
works
> : : fine.
> :
> : The "file collision" setting would be on the receiving kermit, and have
no
> : effect on the sending kermit, correct?
>
> That is correct. The File Collision options only affect the Kermit that
> is performing either a RECEIVE or a GET operation.
>
> The problem was being experienced in this case is due to a combination
> of the File Collision options and the default security provided by the
> Kermit SERVER.
>
> The default settings for a Kermit SERVER are:
>
> Function: Status:
> GET Enabled
> SEND Enabled
> MAIL Enabled
> PRINT Enabled
> REMOTE ASSIGN Enabled
> REMOTE CD/CWD Enabled
> REMOTE COPY Enabled
> REMOTE DELETE Remote only
> REMOTE DIRECTORY Enabled
> REMOTE HOST Remote only
> REMOTE QUERY Enabled
> REMOTE MKDIR Enabled
> REMOTE RMDIR Remote only
> REMOTE RENAME Enabled
> REMOTE SET Enabled
> REMOTE SPACE Enabled
> REMOTE TYPE Enabled
> REMOTE WHO Enabled
> BYE Remote only
> FINISH Enabled
> EXIT Remote only
> ENABLE Enabled
>
> The "Remote only" does not refer to the REMOTE command but to the mode
> that the Kermit process executing the SERVER is operating in. Kermit
> can be executed in two modes: "remote" and "local". Remote means that
> Kermit was started on a remote host and is communicating across the
> TTY device back to the client. An example of this scenario is when
> a Telnet client is used to connect to a Unix host and C-Kermit is
> started from the command line for the purpose of transfering files with
> the Telnet client. This is Kermit operating in "remote" mode.
>
> Every other type of connection is Kermit running in "local" mode.
> When Kermit 95 is used to make a telnet connection to a Unix host
> it is running in "local" mode. When C-Kermit is used to accept an
> incoming connection with SET HOST * it is running in "local" mode.
>
> The Internet Kermit Service runs in "remote" mode.
>
> The status of "local" mode can be checked in a script with the
> \v(local) variable. It will be 1 when in local mode, and 0 when
> in remote mode.
>
> How does the mode affect the problem experienced by Woot? Here is the
> configuration"
>
> . SET FILE COLLISION OVERWRITE
>
> . SERVER mode
>
> . operating in "local" mode since Kermit established the connection
> to the HP-48
>
> Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit
> is not using OVERWRITE mode but instead uses RENAME mode. Why?
>
> The SERVER is operating with an ENABLE DELETE REMOTE setting. This means
> that when the SERVER runs in "local" mode that file deletion is not
> permitted. Overwriting or even backing up a file requires an implicit
> deletion of the original contents of the file. Therefore, it cannot
> be permitted. So when SERVER mode is started the File Collision Overwrite
> setting becomes File Collision Rename since that is the closest setting
> that will allow the file transfer to proceed without violating the
> stated server policy.
>
> Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available
> The Kermit Project @ Columbia University includes Secure Telnet and FTP
> http://www.kermit-project.org/ using Kerberos, SRP, and
> kermit-support@kermit-project.org OpenSSL. SSH soon to follow.